﻿using B.S.Filtration.ErrorCode;
using MediatR;
using SqlSugar;

namespace B.S.Filtration.Write.Api.Application.Command.ProductionTaskCommand
{
    public class AddProductionTaskCommand:IRequest<APIResult<object>>
    {

        /// <summary>
        /// 任务号（格式：工单号+2位流水，提交时创建）
        /// </summary>
        public string TaskNumber { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public string TaskType { get; set; }
        /// <summary>
        /// 工段
        /// </summary>
        public string WorkSection { get; set; }
        /// <summary>
        /// 产线
        /// </summary>
        public string ProductionLine { get; set; }
        /// <summary>
        /// 班组
        /// </summary>
        public string Team { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        public string Shift { get; set; }
        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNumber { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNumber { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 采样点
        /// </summary>
        public string SamplingPoint { get; set; }
        /// <summary>
        /// 控制批次号
        /// </summary>
        public string ControlBatchNumber { get; set; }
        /// <summary>
        /// 前酵罐号
        /// </summary>
        public string PreFermentationTankNumber { get; set; }
        /// <summary>
        /// 后酵罐号
        /// </summary>
        public string PostFermentationTankNumber { get; set; }
        /// <summary>
        /// 清酒罐号
        /// </summary>
        public string SakeTankNumber { get; set; }
        /// <summary>
        /// 满罐时间
        /// </summary>
        public DateTime FullTankTime { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
